/*
 * 太原学院计算机技术系（C）版权所有.
 */
package cn.edu.tyu.finance.thingstype.service;

import java.sql.SQLException;

import cn.edu.tyu.finance.thingstype.dao.UserDaoImpl;
import cn.edu.tyu.finance.thingstype.domain.Users;

/**
 *
 * @author hujinyu
 * @version 1.0
 */
public class UserServiceImpl {
	public int addUser(Users users) throws SQLException {
		UserDaoImpl userDaoImpl=new UserDaoImpl();
	    userDaoImpl.addUser(users);
	    int res = userDaoImpl.addUser(users);
		return res;
	}

}
